import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

export default new Vuex.Store({
    state: {
        // 是否在请求中
        isAppending: false
    },
    mutations: {
        changeAppending(state, bool) { 
            state.isAppending = bool;
        }
    }
})